package com.sibu.yx.promotion.persistence.response;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.doubo.common.util.DateUtil;

import lombok.Data;

/**
 * @author suzheng
 * @date 2021-07-09
 **/
@Data
public class ExportDemoResponse {
    @ExcelProperty("活动ID")
    private Long activityId;

    @ExcelProperty("订单号")
    private String orderCode;

    @ExcelProperty("用户昵称")
    private String nickName;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("用户Id")
    private String memberId;

    @ExcelProperty("订单金额")
    private BigDecimal orderMoney;

    @ExcelProperty("商品件数")
    private Integer purchaseNum;

    @ExcelProperty("积分")
    private Integer credit;


    @ExcelProperty("收货省份")
    private String province;

    @ExcelProperty("收货城市")
    private String city;

    @ExcelProperty("是否转采购")
    private String changeOrder;

    @ExcelProperty("运费")
    private BigDecimal freight;

    @ExcelProperty("发货日期")
    @DateTimeFormat(DateUtil.Y_M_D_HMS)
    private Date shipDt;

    @ExcelProperty("下单日期")
    @DateTimeFormat(DateUtil.Y_M_D_HMS)
    private Date orderDt;


}
